﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

using Spring.Validation;
using System.ComponentModel.DataAnnotations;

namespace WaiGaoQiaoWeb.Models
{
    public class ArticleUnitVM
    {

        /// <summary>
        /// Id
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 物资ID
        /// </summary>
       [DisplayName("物资名称")]
       [Range(0, 1000000, ErrorMessage = "物资名称不能为空")]
        public int AID { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
       [DisplayName("物资规格")]
       [Required(ErrorMessage = "物资规格不能为空")]
        public string Unit { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string Remark { get; set; }
        
  
    }
}